home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 October / Enter 10 2006.iso / Uzytki / Spiceworks Desktop 0.8.34 Beta / Spiceworks.exe / ruby / bin / update_rubygems < prev    next >
Encoding:
Text File  |  2006-06-29  |  453 b   |  19 lines

  1. #!/usr/bin/env ruby
  2. #
  3. # This file was generated by RubyGems.
  4. #
  5. # The application 'rubygems-update' is installed as part of a gem, and
  6. # this file is here to facilitate running it. 
  7. #
  8.  
  9. require 'rubygems'
  10. version = "> 0"
  11. if ARGV.size > 0 && ARGV[0][0]==95 && ARGV[0][-1]==95
  12.   if Gem::Version.correct?(ARGV[0][1..-2])
  13.     version = ARGV[0][1..-2] 
  14.     ARGV.shift
  15.   end
  16. end
  17. require_gem 'rubygems-update', version
  18. load 'update_rubygems'  
  19.